         <?php 
	    	error_reporting(0);
	    	require 'header.php';
	    	echo '<div class="panel-body">';
	    	if(!file_exists('./install/ok.lock')){
	    		echo '当前程序安装未完成,怎么可以查看这个页面呢?';
	    	}else{
            require('./config/connect.php');
	    $ssql = "SELECT * FROM article WHERE concat(title,content,lable) LIKE '%".$_POST[search]."%'";
	    $sresult = $_mysqli->query($ssql);
	    $spost = array();
	    while ($row = mysqli_fetch_array($sresult)){
		$spost[] = $row;
	    }
	    
	    foreach ($spost as $svalue){
		echo "<div class='panel-body'>
				    <div class='items items-hover'>
				    <div class='item'>
				    <div class='item-heading'>
				    <div class='pull-right label label-success'>".$svalue['lable']."</div><h4><a href='###'>".$svalue['title']."</a></h4>
				    </div>
				    <div class='item-content'>
				    <div class='text'>".$svalue['content']."</div>
				    </div>
				    <div class='item-footer'>
				    <span class='text-muted'>time ".$svalue['times']."</span>
				    </div>
				    </div>
				    </div>
				    </div>";
	    }
	    	}
	    	require 'footer.php';
          ?>
